module.exports = function (ctx, statusNum, statusCode, statusMsg, statusInfo="") {
    if (statusNum !== 200) {
        ctx.response.status = statusNum;
        return;
    }
    ctx.json({
        statusCode,
        statusInfo,
        statusMsg
    })
}